from django.conf import settings
from django.conf.urls.defaults import patterns, url



urlpatterns = patterns('meercat.ui.django.views',
    url(r'^$', 'search', name='meercat-ui-default-search',
        kwargs={'identifier':settings.MEERCAT_DEFAULT_SEARCH_SLUG}),
    url(r'^resource/(?P<identifier>\d+)/$', 'resource',
        name='meercat-ui-resource'),
    url(r'^(?P<identifier>[\w\-_]+)/$', 'search',
        name='meercat-ui-search'),
)
